/**
 *
 */

let a = 'add_some_number';

let b = a.replace((/(\_w)/g), s => s.toUpperCase())
console.log(b);
